//
//  LJCMusicCollectionReusableView.m
//  WZLProduct
//
//  Created by 陆静聪 on 16/3/18.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import "LJCMusicCollectionReusableView.h"

@interface LJCMusicCollectionReusableView ()

@property (nonatomic, retain) UILabel *nameLabel;/**< 标题 */
@end

@implementation LJCMusicCollectionReusableView

- (void)giveTitle:(NSString *)title {
    _nameLabel.text = title;
}


- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createCell];
    }
    return self;
}

- (void)createCell {
    
    
    _nameLabel = [[UILabel alloc] init];
    [self addSubview:_nameLabel];
    [_nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.right.bottom.offset(0);
        make.left.offset(10);
    }];
    
    
    
}

@end
